package com.mm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 临时验证码表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_temporary_mail_code")
public class ActiveCodeEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "email")
    private String email ;

    @TableField(value = "code")
    private String code ;

    @TableField(value = "active_length")
    private Integer activeLength ;

    @TableField(value = "create_time")
    private String createTime ;
}
